package com.eqs.enterprisequestionnaire.model.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@TableName("system_log")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemLog {
    private Integer id;

    private String action;

    @ManyToOne
    @JoinColumn(name = "user_id")
    private User user;

    private LocalDateTime timestamp;
}
